#ifndef _BUOLA_MEDIA_FFMPEG_CINPUTAUDIOSTREAM_H_
#define _BUOLA_MEDIA_FFMPEG_CINPUTAUDIOSTREAM_H_

#include "cinputstream.h"

#include <blackbox/cstreamout.h>

namespace buola { namespace media { namespace ffmpeg {

class CInputAudioStream : public CInputStream
{
public:
    CInputAudioStream(AVStream *pAV);

    void SetPorts(blackbox::CStreamOut<int16_t> *pOut);
    
    virtual void ProcessPacket(AVPacket *pPacket);

private:
    AVStream *mAV;

    blackbox::CStreamOut<int16_t> *oAudio;
};

/*namespace ffmpeg*/ } /*namespace media*/ } /*namespace buola*/ }

#endif
